#include"processbar.h"
    char ch[5] = Q;
    char bar[Bar] = {0};
void processbar(int dl)
{
    if(dl == 0)
        memset(bar,'\0',Bar);
    int len = strlen(ch);
        if(dl < 100)
            bar[dl] = Style2;
        printf("[%-100s][%d%%][%c]\r", bar, dl, ch[dl%len]);
        fflush(stdout);
        bar[dl++] = Style;
}
